package queues;

import java.util.List;
import server.Counter;
import server.QueueInfo;
import server.Subject;

/**
 * Someone wanting to receive notifications from QueuesServer
 * @author Renato Rosa <2101076@my.ipleiria.pt>
 */
public interface NotificationsObserver {

    public void initialize(List<Subject> subjects, List<Counter> counters, List<QueueInfo> tickets) throws NotInitializedException;
    public void updateAll(List<Counter> counters, List<QueueInfo> tickets) throws NotInitializedException, UnknownSubjectException;
    public void updateQueue(QueueInfo info) throws NotInitializedException, UnknownSubjectException;
    
}
